package com.woniuxy.service;

import com.woniuxy.pojo.Address;

import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/3/28 0:52
 * @Description TODO
 */
public interface AddressService {
    public void addAddress(Address address);

    public List<Address> findAllAddress(int uid);

    public void deleteById(int id, int uid);

    public void setDefault(int id, int uid);

    public Address findByIdAndUid(int id, int uid);

    public List<Address> findFourAddress(int uid);
}
